package com.edu.zut.hb.software.server.mapper;


import com.edu.zut.hb.software.server.pojo.Teacher;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhoubin
 * @since 2021-08-15
 */
public interface TeacherMapper extends BaseMapper<Teacher> {

    /**
     * 获取单个教师信息
     * @return
     */
    List<Teacher> getOneTeacher(String name);
    /**
     * 获取教室信息
     * @param classroom
     * @return
     */
    List<Teacher> getOneClass(String classroom);
    /**
     * 获取教研室信息
     * @param room
     * @return
     */
    List<Teacher> getOneRoom(String room);
}
